/*
 * redmicro all Copyright (c)
 */

/**
 * Created by seeker910 on 2015/5/29.
 */
Rsd.define('Rsd.Faith.pages.InfoYeZhuWeiYuanHuiListPage', {
    extend: 'Rsd.Faith.pages.ListPage',
    requires: [],
    xtype: 'list-yeZhuWeiYuanHui',
    border: false,
    tabTitle: '业主委员会',
    modelType: 'InfoYeZhuWeiYuanHuiBiaoModel',
    formFields: [
        {
            "name": "MingCheng",
            "label": {
                "content": "名称",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "ZuZhiJiGouDaiMa",
            "label": {
                "content": "组织机构代码",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "YeWeiHuiZhuRen",
            "label": {
                "content": "业委会主任",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "RenQiNianXian",
            "label": {
                "content": "任期年限",
                "width": 80
            },
            "xtype": "number"
        },
        {
            "name": "LianXiDianHua",
            "label": {
                "content": "联系电话",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "BeiAnShiJian",
            "label": {
                "content": "备案时间",
                "width": 80
            },
            "xtype": "date",
            "formatString": "yyy-MM-dd"
        },
        {
            "name": "BianHao",
            "label": {
                "content": "编号",
                "width": 80
            },
            "xtype": "text"
        },
        {
            "name": "Remark",
            "label": {
                "content": "备注",
                "width": 80
            },
            "xtype": "text"
        }
    ],
    gridColumns: [
        {
            "text": "序号",
            "xtype": "index",
            "width": 40
        },

        {
            "name": "MingCheng",
            "text": "名称",
            "width": 150,
            "nobr": true
        },



        {
            "name": "LianXiDianHua",
            "text": "联系电话",
            "width": 150,
            "nobr": true
        },
        {
            "name": "YeWeiHuiZhuRen",
            "text": "业委会主任",
            "width": 150,
            "nobr": true
        },
        {
            "name": "RenQiNianXian",
            "text": "任期年限",
            "xtype": "number",
            "width": 100,
            "precision": "0"
        },
        {
            "name": "BeiAnShiJian",
            "text": "备案时间",
            "xtype": "date",
            "formatString": "yyyy-MM-dd",
            "width": 150
        },
        {
            "name": "ZuZhiJiGouDaiMa",
            "text": "组织机构代码",
            "width": 150,
            "nobr": true
        },
//        {
//            "name": "BianHao",
//            "text": "编号",
//            "dataindex": "bianhao",
//            "width": 150,
//            "nobr": true
//        },
        {
            "name": "Remark",
            "text": "备注",
            "width": 150,
            "nobr": true
        }
    ],
    titleField:'MingCheng',
    newButton:{visible:true,text:"添加业主委员会"},
    /*
    * */
    constructor: function (config) {
        config = config || {};
        Rsd.apply(this, config);
    }
});